package com.macro.mall.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class WmsOutStorage implements Serializable {
    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "出库单号")
    private String outStorageSn;

    @ApiModelProperty(value = "创建时间")
    private Date creatTime;

    @ApiModelProperty(value = "对应的经纪人id，如果为空，则只是单纯的出库减少库存")
    private Long agentId;

    @ApiModelProperty(value = "出库单类型->0普通出库单；1转运经纪人")
    private Integer type;

    @ApiModelProperty(value = "出库单状态->0创建；1已完成")
    private Integer status;

    @ApiModelProperty(value = "完成时间")
    private Date finishTime;

    @ApiModelProperty(value = "admin账号店铺id")
    private Long storeId;

    @ApiModelProperty(value = "admin用户id")
    private Long memberId;

    @ApiModelProperty(value = "admin账号用户名")
    private String memberUserName;

    @ApiModelProperty(value = "备注")
    private String note;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOutStorageSn() {
        return outStorageSn;
    }

    public void setOutStorageSn(String outStorageSn) {
        this.outStorageSn = outStorageSn;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public Long getAgentId() {
        return agentId;
    }

    public void setAgentId(Long agentId) {
        this.agentId = agentId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getMemberUserName() {
        return memberUserName;
    }

    public void setMemberUserName(String memberUserName) {
        this.memberUserName = memberUserName;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", outStorageSn=").append(outStorageSn);
        sb.append(", creatTime=").append(creatTime);
        sb.append(", agentId=").append(agentId);
        sb.append(", type=").append(type);
        sb.append(", status=").append(status);
        sb.append(", finishTime=").append(finishTime);
        sb.append(", storeId=").append(storeId);
        sb.append(", memberId=").append(memberId);
        sb.append(", memberUserName=").append(memberUserName);
        sb.append(", note=").append(note);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}